<template>
    <div class="home">
        <img alt="Vue logo" src="../assets/logo.png">

    </div>
</template>

<script>
import Msg from "@/utils/Message"
export default {
    name: 'HomeView',
    components: {
        HelloWorld
    },
    mounted() {
        Msg.message("666")
        Msg.openConfirm('确定要退出吗？', 'warning', () => {
            this.$router.push('login')
            Msg.message('退出成功')

        }, () => {
            Msg.message('退出失败', 'error')
        })
        Msg.notice("1111")
    }
}
</script>
